package com.bootdo.fx.service;

import com.bootdo.fx.domain.UserAddressDO;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author 袁飞龙
 * @email 1992lcg@163.com
 * @date 2017-11-30 17:12:20
 */
public interface UserAddressService {
	
	UserAddressDO get(Long addrId);
	
	List<UserAddressDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(UserAddressDO userAddress);
	
	int update(UserAddressDO userAddress);
	
	int remove(Long addrId);
	
	int batchRemove(Long[] addrIds);

	int setDefualtAddress(String userId,String addressId);

}
